#ifndef MYLIB_DRIVER_SPI_H
#define MYLIB_DRIVER_SPI_H

#include <mylib/mylib_config.h>

enum{
    SPI_1,
    SPI_2,
    SPI_3,
    SPI_4,
    SPI_5
};

void spi_read(uint32_t spi, uint8_t *buf, uint32_t len);
void spi_write(uint32_t spi, uint8_t *data, uint32_t len);


#endif   // !MYLIB_DRIVER_SPI_H
